package ModelLayer;


/**
 * Write a description of class Supplier here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Product
{
    // instance variables - replace the example below with your own
    private int barcode;
    private int price;
    private String name;
    private int stocknumbers;
    private int min;
    private int max;
    private String supplier;
    
    public Product(int barcode, int price, String name, int stocknumbers, int min, int max, String supplier)
    {
        this.barcode = barcode;
        this.price = price;
        this.name = name;
        this.stocknumbers = stocknumbers;
        this.min = min;
        this.max = max;
        this.supplier = supplier;
        
    }

    public int getBarcode()
    {
        return barcode;
    }
    
    public int getPrice()
    {
        return price;
    }
    
    public String getName()
    {
        return name;
    }
    
    public int getStocknumber()
    {
        return stocknumbers;
    }
    
    public int getMin()
    {
        return min;
    }
    
    public int getMax()
    {
        return max;
    }
    
    public String getSupplier()
    {
        return supplier;
    }
    
    public void setBarcode(int barcode)
    {
        this.barcode = barcode;
    }
    
    public void setPrice(int price)
    {
        this.price = price;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setStocknumber(int stocknumbers)
    {
        this.stocknumbers = stocknumbers;
    }
    
    public void setMin(int min)
    {
        this.min = min;
    }
    
    public void setMax(int max)
    {
        this.max = max;
    }
    
    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }
    
    
    
}
